package org.huangrui.design.pattern.proxy.dynamic;

import java.util.Random;

public class Session {
    private static String[] roles = {"admin","user"};
    public static String getUser(){
        return roles[new Random().nextInt(0,2)];
    }
}
